/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.fjut.sel1602.csp.entity;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author lenovo
 */
public class Account implements Serializable{
    private Integer id;
    private Integer dealtype;
    private Integer petid;
    private Integer sellerid;
    private Integer buyerid;
    private Integer price;
    private String dealtime;

    public Account (int Dealtype,int Petid,int Sellerid,int buyerid,int price,String Dealtime)
    {
        this.dealtype=Dealtype;
        this.petid=Petid;
        this.sellerid=Sellerid;
        this.buyerid=buyerid;
        this.price=price;
        this.dealtime=Dealtime;
    }
    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the dealtype
     */
    public Integer getDealtype() {
        return dealtype;
    }

    /**
     * @param dealtype the dealtype to set
     */
    public void setDealtype(Integer dealtype) {
        this.dealtype = dealtype;
    }

    /**
     * @return the petid
     */
    public Integer getPetid() {
        return petid;
    }

    /**
     * @param petid the petid to set
     */
    public void setPetid(Integer petid) {
        this.petid = petid;
    }

    /**
     * @return the sellerid
     */
    public Integer getSellerid() {
        return sellerid;
    }

    /**
     * @param sellerid the sellerid to set
     */
    public void setSellerid(Integer sellerid) {
        this.sellerid = sellerid;
    }

    /**
     * @return the buyerid
     */
    public Integer getBuyerid() {
        return buyerid;
    }

    /**
     * @param buyerid the buyerid to set
     */
    public void setBuyerid(Integer buyerid) {
        this.buyerid = buyerid;
    }

    /**
     * @return the price
     */
    public Integer getPrice() {
        return price;
    }

    /**
     * @param price the price to set
     */
    public void setPrice(Integer price) {
        this.price = price;
    }

    /**
     * @return the dealtime
     */
    public String getDealtime() {
        return dealtime;
    }

    /**
     * @param dealtime the dealtime to set
     */
    public void setDealtime(String dealtime) {
        this.dealtime = dealtime;
    }
}
